.. _ocacodingmanager: 1.3.12 OcaCodingManager ======================== Class Hierarchy: :ref:`OcaRoot ` :raw:html:`→` :ref:`OcaManager ` :raw:html:`→` :ref:`OcaCodingManager ` .. cpp:class:: OcaCodingManager: OcaManager Optional manager that collects all media decoders/encoders (Codecs) which the device owns. - Must be instantiated in every device that implements more than one media encoding scheme and/or more than one media decoding scheme. - If instantiated, object number must be 12. **Properties**: .. _ocacodingmanager_classid: .. cpp:member:: static const OcaClassID ClassID = "1.3.12" Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the **OcaRoot** property. This property has id ``3.1``. .. _ocacodingmanager_classversion: .. cpp:member:: static const OcaUint16 ClassVersion = 1 Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the **OcaRoot** property. This property has id ``3.2``. .. _ocacodingmanager_availableencodingschemes: .. cpp:member:: OcaMap AvailableEncodingSchemes Map of names of media encoding schemes the device supports, indexed by scheme ID. This property has id ``3.1``. .. _ocacodingmanager_availabledecodingschemes: .. cpp:member:: OcaMap AvailableDecodingSchemes Map of names of media decoding schemes the device supports, indexed by scheme ID. This property has id ``3.2``. Properties inherited from :ref:`OcaRoot `: - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` **Methods**: .. _ocacodingmanager_getavailableencodingschemes: .. cpp:function:: OcaStatus GetAvailableEncodingSchemes(OcaMap &Schemes) Retrieves the map of available encoding schemes, indexed by scheme ID. Return value indicates success of the retrieval. This method has id ``3.1``. :param OcaMap Schemes: Output parameter. .. _ocacodingmanager_getavailabledecodingschemes: .. cpp:function:: OcaStatus GetAvailableDecodingSchemes(OcaMap &Schemes) Retrieves the map of available decoding schemes, indexed by scheme ID. Return value indicates success of the retrieval. This method has id ``3.2``. :param OcaMap Schemes: Output parameter. Methods inherited from :ref:`OcaRoot `: - :ref:`OcaRoot::GetClassIdentification(ClassIdentification) ` - :ref:`OcaRoot::GetLockable(lockable) ` - :ref:`OcaRoot::LockTotal() ` - :ref:`OcaRoot::Unlock() ` - :ref:`OcaRoot::GetRole(Role) ` - :ref:`OcaRoot::LockReadonly() `